package com.packet.service.impl;


import com.packet.mapper.ManagerApplicationMapper;
import com.packet.pojo.ManagerApplication;
import com.packet.service.ManagerApplicationService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author L
 */
@Service
public class ManagerApplicationServiceImpl implements ManagerApplicationService {

    @Autowired
    private ManagerApplicationMapper managerApplicationMapper;

    @Override
    public List<ManagerApplication> selectAll(Integer sid) {
        return managerApplicationMapper.selectAll(sid);
    }

    @Override
    public List<ManagerApplication> selectReimburseAll(Integer sid) {
        return managerApplicationMapper.selectReimburseAll(sid);
    }

    @Override
    public List<ManagerApplication> selectByConditionSingle(Integer sid,String sName) {
        return managerApplicationMapper.selectByConditionSingle(sid,sName);
    }

    @Override
    public List<ManagerApplication> selectByConditionSingle2(Integer sid,String sName) {
        return managerApplicationMapper.selectByConditionSingle2(sid,sName);
    }
}
